-
Notifications
You must be signed in to change notification settings - Fork 344
[ENG-7839] [ENG-7766] Add celery task to update Datacite metadata + Use new GV API endpoint to retrieve node's verified links + Update unit tests #11130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
d28e8c9
to
d05c9a2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In addition to my comments, I also see lots of .turtle
files change, wondering why we need to change it. Some only seems to be moving stuff around.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review update:
First, let's make the use of the mock consistent:
- No need to define the fixture outside
conftest.py
- Always use the
@pytest.mark.usefixtures()
(instead of using@pytest.fixture(autouse=True)
or adding an extra argument).
Second, take a look at all the metadata file changes, as I mentioned in the comment.
osf_tests/metadata/expected_metadata_files/project_basic.turtle
Outdated
Show resolved
Hide resolved
…test.mark.usefixtures(). Also replace pass the mock as arguments to decorator style
07f409e
to
89b5a3d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a few left-overs, and I commented on every place that needs to be cleaned up.
osf_tests/metadata/expected_metadata_files/registration_supplement.turtle
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and thanks for the awesome work @Vlad0n20 and great support @opaduchak. I will take care of the rest nitpicking stuff before merge.
556304a
to
2190a32
Compare
1686ef8
into
CenterForOpenScience:feature/verified-resource-linking
…NG-7839 [ENG-7839] [ENG-7766] Add celery task to update Datacite metadata + Use new GV API endpoint to retrieve node's verified links + Update unit tests
Purpose
Changes
See diff
QA Notes
N/A
Documentation
N/A
Side Effects
N/A
Ticket
https://openscience.atlassian.net/browse/ENG-7839
https://openscience.atlassian.net/browse/ENG-7766